package com.educate.device.model.po;

import lombok.Data;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;

@Data
public class DeviceStatus implements Serializable {

    @Id
    private String deviceId;//也用设备id
    private Boolean online;
    private Double space;
    private Double battery;
    private Boolean alarm;
    private Boolean rest;
    private Date uploadTime;
    private Date updateTime;
}
